<?php

    /**
     * Formats price
     *
     * @param       Dwoo        $dwoo
     * @param       float       $price
     * @return      string
     */
    function Dwoo_Plugin_price_format(Dwoo $dwoo, $price)
    {
        return number_format($price, 2, ",", " ");
    }